﻿//===============================================================================
// Microsoft Innovation Centre - Western Europe
// Copyright (c) 2008 Microsoft Corporation. All rights reserved.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
// FITNESS FOR A PARTICULAR PURPOSE.
//===============================================================================
// The example companies, organizations, products, domain names,
// e-mail addresses, logos, people, places, and events depicted
// herein are fictitious.  No association with any real company,
// organization, product, domain name, email address, logo, person,
// places, or events is intended or should be inferred.
//===============================================================================

using System;
using System.Windows.Controls;

namespace Microsoft.WVB.Framework
{
    /// <summary>
    /// Any Player Model needs to implement this interface to become a MediaPlayer model.
    /// </summary>
    public interface IPlayerModel
    {
        MediaElement DisplaySurface { get; }
        String CaptionText { get; }
        Boolean CanSeek { get; }
        Boolean Muted { get; set; }
        Boolean Paused { get; set; }
        Boolean IsFullScreen { get; set; }
        Boolean Buffering { get; set; }
        Boolean Playing { get; set; }
        TimeSpan Duration { get; }
        TimeSpan Position { get; set; }
        double Volume { get; set; }
        double DurationProgress { get; set; }
        double DownloadProgress { get; }
       
        void Action(ActionBag actionBag);
    }
}
